package com.study.day20190709;

public class RunnableTest implements Runnable{
    @Override
    public void run() {
        while (true){
            System.out.println("线程执行了");
        }
    }

    public static void main(String[] args) {
        Thread thread=new Thread(new RunnableTest());
        thread.start();
    }
}
